package com.lin.blog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @program: blog
 * @description: 文章统计
 * @author: Lin
 * @create: 2020-05-13 15:44
 **/
@Data
@Setter
@Getter
@ToString
public class ArticleStatistical {



    @ApiModelProperty(value = "文章数量")
    private  Integer count;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "点赞数")
    private Integer likes;

    @ApiModelProperty(value = "浏览次数")
    private Integer look;

}
